import Layout from '@/layout'
const customerManagerRouter = {
  path: '/customerManager/list',
  component: Layout,
  name: 'customerManager-list',
  meta: {
    title: '客户经理',
    icon: 'customerManager',
    permissions: ['customerManager.query']
  },
  children: [
    {
      path: '/customerManager/list',
      component: () => import('@/views/customerManager/list'),
      name: 'customerManager-list',
      meta: {title: '客户经理', icon: 'customerManager'
        // ,permissions: ['customerManager.query']
      },
    },

    // 注册路由
    {
      path: '/customerManager/list',
      component: () => import('@/views/customerManager/list'),
      name: 'customerManager-list',
      meta: { title: '客户经理资料', icon: 'sub_customerManager'},
      hidden: true
    },
    {
      path: '/customerManager/add',
      component: () => import('@/views/customerManager/add'),
      name: 'customerManager-add',
      meta: { title: '新增客户经理', icon: 'customerManager'},
      hidden: true
    },
    {
      path: '/customerManager/edit',
      component: () => import('@/views/customerManager/edit'),
      name: 'customerManager-edit',
      meta: { title: '修改客户经理', icon: 'sub_customerManager'},
      hidden: true
    },

    {
      path: '/customerManager/detail',
      component: () => import('@/views/customerManager/detail'),
      name: 'customerManager-detail',
      meta: { title: '客户经理详情', icon: 'sub_customerManager'},
      hidden: true
    },
  ]
}
export default customerManagerRouter
